package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 小便情况
 * </p>
 *
 * @author 冯政尚
 * @since 2018-10-13
 */
@TableName("urine")
public class Urine extends Model<Urine> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Long id;
    /**
     * 小便时间
     */
	@TableField("urineTime")
	private Long urineTime;
    /**
     * 小便色状
     */
	@TableField("urineChromatic")
	private String urineChromatic;
    /**
     * 关联妈妈id
     */
	private Long mid;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUrineTime() {
		return urineTime;
	}

	public void setUrineTime(Long urineTime) {
		this.urineTime = urineTime;
	}

	public String getUrineChromatic() {
		return urineChromatic;
	}

	public void setUrineChromatic(String urineChromatic) {
		this.urineChromatic = urineChromatic;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Urine{" +
			"id=" + id +
			", urineTime=" + urineTime +
			", urineChromatic=" + urineChromatic +
			", mid=" + mid +
			"}";
	}
}
